<h1>Users</h1>

<table>
<tr>
<th>Id</th>
<th>Username</th>
<th>Password</th>
</tr>
<?php foreach($this->users as $user) : ?>
<tr class="<?= $this->alternator(array("odd","even")); ?>">
<td><?php echo $this->escape($user->id);?></td>
<td><?php echo $this->escape($user->username);?></td>
<td><?php echo $this->escape($user->password);?></td>
</tr>
<?php endforeach; ?>
</table>


<table>
<tr>
<th>User id</th>
<th>Char name</th>
<th>&nbsp;</th>
</tr>
<?php foreach($this->chars as $char) : ?>
<tr>
<td><?php echo $this->escape($char->user_id);?></td>
<td><?php echo $this->escape($char->name);?></td>
</tr>
<?php endforeach; ?>
</table>